package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "ProductReviewVO", description = "商品评价VO")
public class ProductReviewVO {
    
    @ApiModelProperty("评价ID")
    private Long id;
    
    @ApiModelProperty("用户ID")
    private Long userId;
    
    @ApiModelProperty("用户昵称")
    private String nickname;
    
    @ApiModelProperty("用户头像")
    private String avatar;
    
    @ApiModelProperty("商品ID")
    private Long productId;
    
    @ApiModelProperty("商品名称")
    private String productName;
    
    @ApiModelProperty("商品主图")
    private String productImage;
    
    @ApiModelProperty("SKU规格")
    private String skuSpec;
    
    @ApiModelProperty("评分")
    private Integer rating;
    
    @ApiModelProperty("评价内容")
    private String content;
    
    @ApiModelProperty("评价图片列表")
    private List<String> images;
    
    @ApiModelProperty("是否匿名")
    private Integer anonymous;
    
    @ApiModelProperty("商家回复")
    private String reply;
    
    @ApiModelProperty("回复时间")
    private LocalDateTime replyTime;
    
    @ApiModelProperty("评价时间")
    private LocalDateTime createTime;
} 